﻿namespace Kay.Communication.Framework
{
    /// <summary>
    /// 收发数据的详细信息
    /// </summary>
    public class MessageInfo
    {
        /// <summary>
        /// 获取或设置接收者 Id
        /// </summary>
        public string ReceiveId { get; set; }

        /// <summary>
        /// 获取或设置发送者 Id
        /// </summary>
        public string SendId { get; set; }

        /// <summary>
        /// 获取或设置发送数据的长度
        /// </summary>
        public int Length { get; set; }

        /// <summary>
        /// 获取或设置消息类型
        /// </summary>
        public MessageTypes MessageType { get; set; }

        /// <summary>
        /// 获取或设置传输文件信息
        /// </summary>
        public TransferFileInfo TransferFileInfo { get; set; }
    }
}

